|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnegotiator.boaframework.OfferingStrategy
public abstract class OfferingStrategy
Describes a bidding strategy of an agent of the BOA framework. Tim Baarslag, Koen Hindriks, Mark Hendrikx, Alex Dirkzwager and Catholijn M. Jonker. Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies
| Field Summary | |
|---|---|
protected boolean |
endNegotiation
Boolean to see if endNegotiation is called |
protected SharedAgentState |
helper
Reference to helper class used if there are dependencies between the acceptance condition an offering strategy |
protected NegotiationSession |
negotiationSession
Reference to the negotiation session |
protected BidDetails |
nextBid
The next bid the agent plans to present |
protected OMStrategy |
omStrategy
Reference to the opponent model strategy |
protected OpponentModel |
opponentModel
Reference to the opponent model |
| Constructor Summary | |
|---|---|
OfferingStrategy()
|
|
| Method Summary | |
|---|---|
abstract BidDetails |
determineNextBid()
Determines the next bid the agent will offer to the opponent |
abstract BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent |
void |
endSession(NegotiationResult result)
Method called at the end of the negotiation. |
SharedAgentState |
getHelper()
Return the Helper-object. |
BidDetails |
getNextBid()
|
void |
init(NegotiationSession negotiationSession,
OpponentModel opponentModel,
OMStrategy omStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy. |
boolean |
isEndNegotiation()
|
java.io.Serializable |
loadData()
Method used to load the saved object, possibly created in a previous negotiation session. |
void |
setNextBid(BidDetails nextBid)
Set the next bid of the agent. |
void |
storeData(java.io.Serializable object)
Method used to store data that should be accessible in the next negotiation session on the same scenario. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected BidDetails nextBid
protected NegotiationSession negotiationSession
protected OpponentModel opponentModel
protected OMStrategy omStrategy
protected SharedAgentState helper
protected boolean endNegotiation
| Constructor Detail |
|---|
public OfferingStrategy()
| Method Detail |
|---|
public void init(NegotiationSession negotiationSession,
OpponentModel opponentModel,
OMStrategy omStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
negotiationSession - state of the negotiation.opponentModel - opponent model which may be used.omStrategy - opponent model strategy which may be used.parameters - optional parameters for the offering strategy.
java.lang.Exception - if the offering strategy fails to initialize.public abstract BidDetails determineOpeningBid()
public abstract BidDetails determineNextBid()
public BidDetails getNextBid()
public void setNextBid(BidDetails nextBid)
nextBid - to offer to the opponent.public SharedAgentState getHelper()
public boolean isEndNegotiation()
public final void storeData(java.io.Serializable object)
object - to be saved by this component.public final java.io.Serializable loadData()
public void endSession(NegotiationResult result)
result - of the negotiation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||